/**
 * 
 */
package com.example.android.moemoeru;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

/**
 * @author mikan
 *
 */

public class Main extends Activity {
	
	Button serieButton;
	Button characterButton;
	Button randomButton;
	Button statisticsButton;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        
        setContentView(R.layout.main);

    }
    
    public void runSerieListActivity(View view) {
    	Intent myIntent = new Intent(this, SerieListActivity.class);
    	this.startActivity(myIntent);
    }
    
    public void runCharacterListActivity(View view) {
    	Intent myIntent = new Intent(this, CharacterListActivity.class);
    	this.startActivity(myIntent);
    }
    
    public void randomSentence(View view) {
    	// TODO: Select a random sentence
    	Intent myIntent = new Intent(this, FinalSentenceActivity.class);
    	this.startActivity(myIntent);
    }
    
    public void runStatisticsActivity(View view) {
    	Intent myIntent = new Intent(this, StatisticsActivity.class);
    	this.startActivity(myIntent);
    }
    
}
